package com.ray.bean;

public class DeviceBean {
	private String id;//主键
	private String deviceId;//设备编号
	private String factoryId;//工厂型号
	private String orderId;//订单编号
	private Integer orderCount;//订单数
	private Integer feddingCount;//投料数
	private String workShopName;//车间名称
	private String status;//状态 0断线，1开机为运行，2正常
    private String messageStatus;//通讯状态
    private String reserve;//预留
    private Integer alreadyProceCount;//已生产数量
    private Float devicePower;//功率
    private Float electricity;//电量
    private String company;//公司
    private String procedur;//工序
    private String lastTime;//最后更新时间
    
    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getWorkShopName() {
		return workShopName;
	}
	public void setWorkShopName(String workShopName) {
		this.workShopName = workShopName;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMessageStatus() {
		return messageStatus;
	}
	public void setMessageStatus(String messageStatus) {
		this.messageStatus = messageStatus;
	}
	public String getReserve() {
		return reserve;
	}
	public void setReserve(String reserve) {
		this.reserve = reserve;
	}
	public Integer getAlreadyProceCount() {
		return alreadyProceCount;
	}
	public void setAlreadyProceCount(Integer alreadyProceCount) {
		this.alreadyProceCount = alreadyProceCount;
	}
	public Float getDevicePower() {
		return devicePower;
	}
	public void setDevicePower(Float devicePower) {
		this.devicePower = (float)(Math.round(devicePower*100))/100;
	}
	public Float getElectricity() {
		return electricity;
	}
	public void setElectricity(Float electricity) {
		this.electricity = (float)(Math.round(electricity*100))/100;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getFactoryId() {
		return factoryId;
	}
	public void setFactoryId(String factoryId) {
		this.factoryId = factoryId;
	}
	public Integer getOrderCount() {
		return orderCount;
	}
	public void setOrderCount(Integer orderCount) {
		this.orderCount = orderCount;
	}
	public Integer getFeddingCount() {
		return feddingCount;
	}
	public void setFeddingCount(Integer feddingCount) {
		this.feddingCount = feddingCount;
	}
	public String getProcedur() {
		return procedur;
	}
	public void setProcedur(String procedur) {
		this.procedur = procedur;
	}
	public String getLastTime() {
		return lastTime;
	}
	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}
     
}
